package com.aeks.user;

import java.util.Map;

public class User {
	private String userName;
	private float limitValue;
	private float titleValue;
	private float briefValue;
	private float keyValue;
	private float textValue;
	
	public void init(Map map) {
		this.setUserName((String)map.get("username"));
		this.setLimitValue((Float)map.get("limitvalue"));
		this.setTitleValue((Float)map.get("titlevalue"));
		this.setBriefValue((Float)map.get("briefvalue"));
		this.setKeyValue((Float)map.get("keyvalue"));
		this.setTextValue((Float)map.get("textvalue"));
	}
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public float getLimitValue() {
		return limitValue;
	}

	public void setLimitValue(float limitValue) {
		this.limitValue = limitValue;
	}

	public float getTitleValue() {
		return titleValue;
	}

	public void setTitleValue(float titleValue) {
		this.titleValue = titleValue;
	}

	public float getBriefValue() {
		return briefValue;
	}

	public void setBriefValue(float briefValue) {
		this.briefValue = briefValue;
	}

	public float getKeyValue() {
		return keyValue;
	}

	public void setKeyValue(float keyValue) {
		this.keyValue = keyValue;
	}

	public float getTextValue() {
		return textValue;
	}

	public void setTextValue(float textValue) {
		this.textValue = textValue;
	}

	
	
}